home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / programs / ebbspl2.zip / ERRCODES.QB3 < prev    next >
Text File  |  1991-10-12  |  4KB  |  57 lines

  1.  
  2. Following is a list of QuickBASIC v3.0 (and BASICA far as I can tell)
  3. error codes with their meanings:
  4.  
  5. #    Message                  Notes
  6. -----------------------------------------------------------------------
  7. 01   NEXT without FOR         Found a NEXT but no FOR was issued.
  8. 02   Syntax Error             BASIC line syntax is incorrect.
  9. 03   RETURN without GOSUB     Found a RETURN but no GOSUB was issued.
  10. 04   Out of DATA              Looking for DATA and none left.
  11. 05   Illegal Function call    Usually string manipulation error.
  12. 06   Overflow                 Number too large for data type.
  13. 07   Out of memory            Out of variable space or memory.
  14. 08   Undefined line number    GOTO, GOSUB, ELSE (etc) not defined.
  15. 09   Subscript out of range   Addressed an array higher than DIM'ed.
  16. 10   Duplicate definition     Main sub prg w/same name as lib sub prg.
  17. 11   Division by zero         A number cannot be divided into by 0.
  18. 12   Illegal direct           NA to QB3 - Disallowed DIRECT statements.
  19. 13   Type mismatch            Assigning incorrect data variable type.
  20. 14   Out of string space      Time to reduce variables. (No more var space.)
  21. 15   String too long          In QB3 a string can be 32,767 chrs long.
  22. 16   Formula too Complex      Too many nested cmds, out of memory, etc.
  23. 17   Can't continue           NA to QB3
  24. 18   No RESUME                Need a RESUME in error handling routine.
  25. 19   RESUME without error     RESUME encountered but no error has occured.
  26. 22   Missing operand          Left out a math operand in most cases.
  27. 23   Line buffer overflow     Never saw this one in QB3.
  28. 24   Device Timeout           Device does not respond to OPEN command.
  29. 25   Device fault             Error encountered via OPENed device.
  30. 26   FOR without NEXT         FOR statement never encounters a NEXT
  31. 27   Out of paper             Seems to be the error for MOST printer probs.
  32. 29   WHILE without WEND       WHILE issued but no WEND encountered.
  33. 30   WEND without WHILE       Found a WEND with no WHILE issued.
  34. 50   FIELD overflow           RANDOM file access error
  35. 51   Internal error           oh oh - Hardware or compatibility problem.
  36. 52   Bad file number          Access files not opened, etc.
  37. 53   File not found           OPENed file was not found on current dir.
  38. 54   Bad file mode            Attempt to PUT/GET from seq. file vice RANDOM.
  39. 55   File already OPEN        Attempt to OPEN file already OPENed.
  40. 57   Device I/O error         Communications prob between comp and device.
  41. 58   File already exists      EBBS automatically overwrites files.
  42. 61   Disk full                Time for another hard drive loan.
  43. 62   Input past end           INPUT$ tryong to read more chrs than avail.
  44. 63   Bad record number        Record dos not exist.
  45. 64   Bad file name            Actually should be ILLEGAL filename.
  46. 66   Direct statement         IN FILE - Only BASICA I think.
  47. 67   Too many files           Add 'files = 40' to CONFIG.SYS file.
  48. 68   Device unavailable       Already dating someone else or offline.
  49. 69   Comm Buffer Overflow     Comm Buffer was overrun
  50. 70   Disk write protect       Floppy disk has write protect tab on it.
  51. 71   Disk not ready           Usually floppy drive door not shut.
  52. 72   Disk media error         Physical flaw on disk detected.
  53. 73   Advanced feature         Not sure bout this one - never seen one.
  54. 74   Rename across disks      RENAME only allows on same disk.
  55. 75   Path/file access error   Path and file not found or non existant.
  56. 76   Path not found           OPEN or SUB DIR cmd could not find path.
  57.